package com.wyh.edu.service.fallback;

import com.wyh.edu.service.AuthCodeServiceFeignClient;
import org.springframework.stereotype.Component;

/**
 * @author wuyuhan
 * @date 2021/2/4 23:12
 */
@Component
public class AuthCodeServiceFeignClientFallback implements AuthCodeServiceFeignClient {
    @Override
    public int validateAuthCode(String email, String code) {
        return 2;
    }
}
